 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
      	<script type="text/javascript" src="../com.atilax.frmwk/jquery-1.11.3.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>My JSP 'uploadfile.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
     <form action="../UploadServlet1" method="post" enctype="multipart/form-data" >
        服务器ip：<input type = "text" name = "username" id="txtbox1">  
    	 
    	<input type = "button" value="提交"  onclick="btn_click()" >
		
		
    </form>
	
	
	
	<script>
	function btn_click()
{
 window.location="ftp://"+$("#txtbox1").val();
    
}
	
	
	</script>
  </body>
</html>